#! /bin/bash

for i in `seq 1 1000`
    if ps -e|grep benchmark
    then
        sleep 1
    else
        sleep 1
        echo "Benchmarking ${i} times..."
        nohup ./benchmark-launcher-cli benchmark classroom --blender-version 3.5.0 --device-type CUDA 
    fi
done
echo "Benchmark finished"